<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@page import="org.jeecgframework.core.util.SysThemesUtil,org.jeecgframework.core.enums.SysThemesEnum"%>
<%@include file="/context/mytags.jsp"%>
<%
  session.setAttribute("lang","zh-cn");
  SysThemesEnum sysTheme = SysThemesUtil.getSysTheme(request);
  String lhgdialogTheme = SysThemesUtil.getLhgdialogTheme(sysTheme);
%>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  <meta charset="utf-8" />
  <link rel="shortcut icon" href="images/favicon.ico">
  <title>交易管理--湖南省煤炭大数据中心</title>
  <link href="plug-in/login/css/style.css" rel="stylesheet" type="text/css" media="all" />
</head>
<body>
<div class="login_main">
  <div class="login_top"><img src="img/login-bg-top.png"/></div>
  <div class="login_bottom"><img src="img/login-bg-bottom.png"/></div>
  <div class="login_img"><img src="img/login-img.png"/></div>
  <div class="login_wrap clearfix">
  	<form id="loinForm" class="form-horizontal"    method="post">
            <!-- 单点登录参数 -->
            <input type="hidden" id="ReturnURL"  name="ReturnURL" value="${ReturnURL }"/>
    <div class="login_box">
      <div class="login_logo"><a href="#"><img src="img/login_logo.png"></a></div>
      <div class="widget-main">
            <div class="alert alert-warning alert-dismissible" role="alert" id="errMsgContiner">
  				<div id="showErrMsg"></div>
	  		</div>
      </div>
      <ul class="l-list">
        <li class="clearfix"><span class="l-icon01"></span>
          <input type="text"  name="userName" iscookie="true" class="l-text" autocomplete="off" placeholder="请输入用户名"  id="userName" value=""/>
        </li>
        <li class="clearfix"><span class="l-icon02"></span>
          <input type="password" name="password" class="l-text" placeholder="请输入密码" autocomplete="off" id="password" value=""/>
        </li>
        <li class="clearfix"><span class="l-icon03"></span>
          <input type="text" name="randCode" class="l-text l-text2" placeholder="请输入验证码" autocomplete="off" id="randCode"/>
          <span style="padding: 0px;"><img id="randCodeImage" src="randCodeImage" style="height: 45px;" /></span>
        </li>
        <li class="clearfix">
          <label class="l-check">
            <input type="checkbox" id="on_off"  name="remember" value="yes"/>
            <span>记住密码</span>
           </label>
        </li>
        <li class="clearfix">
          <input id="but_login" name="but_login" type="button" value="登  录" class="l-btn" onclick="checkUser()">
        </li>
      </ul>
    </div>
    </form>
  </div>
</div>
<script type="text/javascript" src="plug-in/jquery/jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="plug-in/jquery/jquery.cookie.js"></script>
<script type="text/javascript" src="plug-in/mutiLang/en.js"></script>
<script type="text/javascript" src="plug-in/mutiLang/zh-cn.js"></script>
<script type="text/javascript" src="plug-in/login/js/jquery.tipsy.js"></script>
<script type="text/javascript" src="plug-in/login/js/iphone.check.js"></script>
<script type="text/javascript" src="webpage/login/login-ace.js"></script>
<script type="text/javascript" src="webpage/login/aes.js"></script>
<script type="text/javascript" src="webpage/login/core.js"></script>
<%=lhgdialogTheme %>
<script type="text/javascript">
	$(function(){
		optErrMsg();
	});
	$("#errMsgContiner").hide();

   //输入验证码，回车登录
  $(document).bind('keyup', function(event) {
	　　if (event.keyCode == "13") {
	　　　　$('#but_login').click();
	　　}
  });

  //验证用户信息
  function checkUser(){
    if(!validForm()){
      return false;
    }
    newLogin();
  }
  
  /**
   * 刷新验证码
   */
  $('#randCodeImage').click(function(){
	    reloadRandCodeImage();
  });
	
</script>

<script>
var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "https://hm.baidu.com/hm.js?098e6e84ab585bf0c2e6853604192b8b";
  var s = document.getElementsByTagName("script")[0]; 
  s.parentNode.insertBefore(hm, s);
})();
</script>

</body>
</html>